package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 采购模式确认，模板
    */
public class ProcurementModel implements Serializable {
    private Integer id;

    /**
    * 模式的名字
    */
    private String name;

    /**
    * 模式制定人
    */
    private Integer staffId;

    /**
    * 采购的产品
    */
    private Integer product;

    /**
    * 采购模式的内容（直接上传一个文件夹）
    */
    private String content;

    /**
    * 发起时间
    */
    private Integer startTime;

    /**
    * 结束时间
    */
    private Date endTime;

    /**
    * 风险评估内容（上传开会文件）
    */
    private String riskAssessment;

    /**
    * 0未通过可修改 1未通过直接取消  2评估中 3通过（项目组长开会评估，总经理确定最后结果）
    */
    private Integer enable;

    /**
    * 备注
    */
    private String remark;

    /**
    * 0删除  1存在
    */
    private Boolean state;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getProduct() {
        return product;
    }

    public void setProduct(Integer product) {
        this.product = product;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStartTime() {
        return startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getRiskAssessment() {
        return riskAssessment;
    }

    public void setRiskAssessment(String riskAssessment) {
        this.riskAssessment = riskAssessment;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", staffId=").append(staffId);
        sb.append(", product=").append(product);
        sb.append(", content=").append(content);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", riskAssessment=").append(riskAssessment);
        sb.append(", enable=").append(enable);
        sb.append(", remark=").append(remark);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}